package com.hmkj.core.service.system.impl;

import com.hmkj.common.baseMapper.GenericMapper;
import com.hmkj.core.mapper.system.LogMapper;
import com.hmkj.core.po.system.Log;
import com.hmkj.core.service.system.LogService;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * 后台接口调用日志业务相关Service接口实现<br>
 *
 * @ClassName: LogServiceImpl
 * @author xxw
 * @date   2017-09-18 11:56:52
 */
@Service
@Scope("prototype")
@Transactional(rollbackFor = Exception.class)
public class LogServiceImpl implements LogService {

	@Resource
    private LogMapper logMapper;

    @Override
    public GenericMapper<Log,Integer> _getMapper() {
        return logMapper;
    }

}
